﻿using Shop.RemoteModel.PageModuleGoods.Model;
using Shop.RemoteModel.SpuGoods.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Shop.Service.Interface
{
    public interface IPageModuleGoodsService
    {
        Dictionary<long, int> SetSort ( long id, int sort );

        void Delete ( long id );

        void Delete ( long[] ids );

        ModuleGoodsDto[] GetGoods ( long tModuleId, string tag );

        ModuleGoodsDto[] Sync ( ModuleGoodsAdd add );

        PagingResult<SpuDatum> Query ( long moduleId, string tag, IBasicPage paging );

        SpuDatum[] GetTops ( long moduleId, string tag, int top );
    }
}